package com.ysd.twocrm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.util.Date;
//打卡记录表
    public class Userchecks {
    @TableId(value = "userCheckId",type = IdType.AUTO)
    private Integer userCheckId;//用户打卡编号

    private String userCheckName;//用户姓名

    private Date userCheckInTime;//用户进入时间

    private Integer userCheckStatus;//用户状态 1:已打上班卡  2：已打下班卡

    private Date userCheckOutTime;//用户离开时间

    private Integer userId;//外键---对应用户表


    private Integer exit1;//备用字段1

    private String exit2;//备用字段2



    public Integer getExit1() {
        return exit1;
    }

    public void setExit1(Integer exit1) {
        this.exit1 = exit1;
    }

    public String getExit2() {
        return exit2;
    }

    public void setExit2(String exit2) {
        this.exit2 = exit2;
    }



    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Userchecks(Integer userCheckId, String userCheckName, Date userCheckInTime, Integer userCheckStatus, Date userCheckOutTime, Integer userId) {
        this.userCheckId = userCheckId;
        this.userCheckName = userCheckName;
        this.userCheckInTime = userCheckInTime;
        this.userCheckStatus = userCheckStatus;
        this.userCheckOutTime = userCheckOutTime;
        this.userId = userId;
    }

    public Userchecks(Integer userCheckId, String userCheckName, Date userCheckInTime, Integer userCheckStatus, Date userCheckOutTime) {
        this.userCheckId = userCheckId;
        this.userCheckName = userCheckName;
        this.userCheckInTime = userCheckInTime;
        this.userCheckStatus = userCheckStatus;
        this.userCheckOutTime = userCheckOutTime;
    }

    public Userchecks() {
        super();
    }

    public Integer getUserCheckId() {
        return userCheckId;
    }

    public void setUserCheckId(Integer userCheckId) {
        this.userCheckId = userCheckId;
    }

    public String getUserCheckName() {
        return userCheckName;
    }

    public void setUserCheckName(String userCheckName) {
        this.userCheckName = userCheckName;
    }

    public Date getUserCheckInTime() {
        return userCheckInTime;
    }

    public void setUserCheckInTime(Date userCheckInTime) {
        this.userCheckInTime = userCheckInTime;
    }

    public Integer getUserCheckStatus() {
        return userCheckStatus;
    }

    public void setUserCheckStatus(Integer userCheckStatus) {
        this.userCheckStatus = userCheckStatus;
    }

    public Date getUserCheckOutTime() {
        return userCheckOutTime;
    }

    public void setUserCheckOutTime(Date userCheckOutTime) {
        this.userCheckOutTime = userCheckOutTime;
    }

    @Override
    public String toString() {
        return "Userchecks{" +
                "userCheckId=" + userCheckId +
                ", userCheckName='" + userCheckName + '\'' +
                ", userCheckInTime=" + userCheckInTime +
                ", userCheckStatus=" + userCheckStatus +
                ", userCheckOutTime=" + userCheckOutTime +
                ", userId=" + userId +
                ", exit1=" + exit1 +
                ", exit2='" + exit2 + '\'' +
                '}';
    }
}
